Pod::Spec.new do |s|
  s.name             = 'leek-txmap'
  s.version          = '2.3.0'
  s.summary          = 'A short description of leek-amap.'

  s.description      = '腾讯地图二次封装#看说明需要注意资源包需手动拖入主项目'

  s.homepage         = 'https://github.com/lanchc/leek-amap'
  # s.screenshots     = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2'
  s.license          = { :type => 'MIT', :file => 'LICENSE' }
  s.author           = { 'lanchc' => '543518851@qq.com' }
  s.source           = { :git => 'https://github.com/lanchc/leek-amap.git', :tag => s.version.to_s }
  # s.social_media_url = 'https://twitter.com/<TWITTER_USERNAME>'

  s.ios.deployment_target = '10.0'
  s.swift_version = '5.0'

  s.source_files = 'leek-txmap/Classes/**/*'

  # s.ios.vendored_frameworks = 'leek-txmap/frameworks/*.framework'
   # 引入系统Framework
  # s.frameworks = "CoreLocation"
  # 引入系统库 lib
  # s.libraries = "sqlite3.0", "c++"
  # s.library   = "iconv"
  # s.libraries = "iconv", "xml2"
  s.pod_target_xcconfig =   {'OTHER_LDFLAGS' => ['-Objc'], 'ENABLE_BITCODE' => 'NO' }
  # 添加图片资源
  s.resource_bundles = { 'leek-txmap' => ['leek-txmap/Assets/**/*.xcassets']  }

  # 二次封装&静态库
 s.static_framework = true
  
  # s.resource_bundles = {
  #   'leek-amap' => ['leek-amap/Assets/*.png']
  # }

  # s.public_header_files = 'Pod/Classes/**/*.h'
  # s.frameworks = 'UIKit', 'MapKit'
  s.dependency 'Tencent-MapSDK' , '4.5.5' # '4.5.6'
   
end
